
import { Injectable } from '@angular/core';
import { ViewModel, NgCommand } from '@farris/devkit';
import { Observable } from 'rxjs';

@Injectable()
export class JmsmdVsnvComponentViewmodel extends ViewModel {
    public bindingPath = '/jmsmds';
    // farrisDataGrid列集合定义 在对应component中赋值
    public jmsmd_vsnv_dataGridColumns:any;
    // datGrid 列集合名称 用以bindData使用
    public dataGridColumnsName:string;

    public dom = {
  "jmsmd-vsnv-dataGrid": {
    "type": "DataGrid",
    "resourceId": "jmsmd-vsnv-dataGrid",
    "visible": {
      "useQuote": false,
      "isExpression": false,
      "value": true
    },
    "id": "jmsmd-vsnv-dataGrid",
    "readonly": {
      "useQuote": false,
      "isExpression": false,
      "value": false
    },
    "fields": [
      {
        "type": "GridField",
        "resourceId": "mdbh_e852e1c3_jrtb",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "mdbh_e852e1c3_jrtb",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "mdbh",
          "fullPath": "mdbh",
          "isExpression": false,
          "value": "mdbh"
        },
        "dataField": "mdbh",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "门店编号",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "mdbh_e852e1c3_unp1",
          "defaultI18nValue": "门店编号",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "mdbh_e852e1c3_unp1",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "mdbh",
            "fullPath": "mdbh",
            "isExpression": false,
            "value": "mdbh"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "mdmc_249439f7_ovf1",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "mdmc_249439f7_ovf1",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "mdmc",
          "fullPath": "mdmc",
          "isExpression": false,
          "value": "mdmc"
        },
        "dataField": "mdmc",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "门店名称",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "mdmc_249439f7_q27k",
          "defaultI18nValue": "门店名称",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "mdmc_249439f7_q27k",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "mdmc",
            "fullPath": "mdmc",
            "isExpression": false,
            "value": "mdmc"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "mdsf_d8e70cdf_cm0c",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "mdsf_d8e70cdf_cm0c",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "mdsf",
          "fullPath": "mdsf",
          "isExpression": false,
          "value": "mdsf"
        },
        "dataField": "mdsf",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "门店省份",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "mdsf_d8e70cdf_hgjj",
          "defaultI18nValue": "门店省份",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "mdsf_d8e70cdf_hgjj",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "mdsf",
            "fullPath": "mdsf",
            "isExpression": false,
            "value": "mdsf"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "mdszqy_e97322e3_c4db",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "mdszqy_e97322e3_c4db",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "mdszqy",
          "fullPath": "mdszqy",
          "isExpression": false,
          "value": "mdszqy"
        },
        "dataField": "mdszqy",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "门店所在区域",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "mdszqy_e97322e3_bj0z",
          "defaultI18nValue": "门店所在区域",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "mdszqy_e97322e3_bj0z",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "mdszqy",
            "fullPath": "mdszqy",
            "isExpression": false,
            "value": "mdszqy"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "mdxxdz_21eba903_zrn7",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "mdxxdz_21eba903_zrn7",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "mdxxdz",
          "fullPath": "mdxxdz",
          "isExpression": false,
          "value": "mdxxdz"
        },
        "dataField": "mdxxdz",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "门店详细地址",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "mdxxdz_21eba903_lcwc",
          "defaultI18nValue": "门店详细地址",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "mdxxdz_21eba903_lcwc",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "mdxxdz",
            "fullPath": "mdxxdz",
            "isExpression": false,
            "value": "mdxxdz"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "mddz_89af201a_zuip",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "mddz_89af201a_zuip",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "mddz",
          "fullPath": "mddz",
          "isExpression": false,
          "value": "mddz"
        },
        "dataField": "mddz",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "门店店长",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "mddz_89af201a_jgs1",
          "defaultI18nValue": "门店店长",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "mddz_89af201a_jgs1",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "mddz",
            "fullPath": "mddz",
            "isExpression": false,
            "value": "mddz"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "mdlxdh_ed184c46_jdgr",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "mdlxdh_ed184c46_jdgr",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "mdlxdh",
          "fullPath": "mdlxdh",
          "isExpression": false,
          "value": "mdlxdh"
        },
        "dataField": "mdlxdh",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "门店联系电话",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "mdlxdh_ed184c46_ofio",
          "defaultI18nValue": "门店联系电话",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "mdlxdh_ed184c46_ofio",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "mdlxdh",
            "fullPath": "mdlxdh",
            "isExpression": false,
            "value": "mdlxdh"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "mdyj_44ecc58c_4reg",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "mdyj_44ecc58c_4reg",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "mdyj",
          "fullPath": "mdyj",
          "isExpression": false,
          "value": "mdyj"
        },
        "dataField": "mdyj",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "门店邮件",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "mdyj_44ecc58c_1mee",
          "defaultI18nValue": "门店邮件",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "mdyj_44ecc58c_1mee",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "mdyj",
            "fullPath": "mdyj",
            "isExpression": false,
            "value": "mdyj"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "tyshxydm_0b947559_sk7v",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "tyshxydm_0b947559_sk7v",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "tyshxydm",
          "fullPath": "tyshxydm",
          "isExpression": false,
          "value": "tyshxydm"
        },
        "dataField": "tyshxydm",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "统一社会信用代码",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "tyshxydm_0b947559_1617",
          "defaultI18nValue": "统一社会信用代码",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "tyshxydm_0b947559_1617",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "tyshxydm",
            "fullPath": "tyshxydm",
            "isExpression": false,
            "value": "tyshxydm"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      },
      {
        "type": "GridField",
        "resourceId": "mdjmf_b8229918_u691",
        "visible": {
          "useQuote": false,
          "isExpression": false,
          "value": true
        },
        "id": "mdjmf_b8229918_u691",
        "size": {
          "width": 120
        },
        "readonly": {
          "useQuote": false,
          "isExpression": false,
          "value": false
        },
        "binding": {
          "type": "Form",
          "path": "mdjmf",
          "fullPath": "mdjmf",
          "isExpression": false,
          "value": "mdjmf"
        },
        "dataField": "mdjmf",
        "dataType": "string",
        "multiLanguage": false,
        "caption": "门店加盟费",
        "editor": {
          "type": "TextBox",
          "isTextArea": true,
          "resourceId": "mdjmf_b8229918_1xec",
          "defaultI18nValue": "门店加盟费",
          "visible": {
            "useQuote": false,
            "isExpression": false,
            "value": true
          },
          "id": "mdjmf_b8229918_1xec",
          "size": {},
          "readonly": {
            "useQuote": false,
            "isExpression": false,
            "value": false
          },
          "binding": {
            "type": "Form",
            "path": "mdjmf",
            "fullPath": "mdjmf",
            "isExpression": false,
            "value": "mdjmf"
          },
          "disable": false,
          "maxLength": 36,
          "isPassword": false,
          "enableViewPassword": false
        },
        "draggable": false,
        "frozen": "none",
        "sortable": true,
        "aggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "groupAggregate": {
          "type": "none",
          "formatter": {
            "type": "none"
          }
        },
        "linkedLabelEnabled": false,
        "updateOn": "blur",
        "formatter": {
          "type": "none"
        }
      }
    ],
    "multiSelect": false,
    "showLineNumber": false,
    "lineNumberTitle": "#",
    "groupTotalText": "Total",
    "filterable": false,
    "groupable": false,
    "rowClass": ""
  }
};
    @NgCommand({
        name: 'jmsmdvsnvcomponentviewmodelAddItem1',
        params: {
        }
    })
    public jmsmdvsnvcomponentviewmodelAddItem1(commandParam?: any): Observable<any> { return; }

    @NgCommand({
        name: 'jmsmdvsnvcomponentviewmodelRemoveItem1',
        params: {
            id: '{DATA~/#{jmsmd-vsnv-component}/jmsmds/id}'
        },
        paramDescriptions: {
            id: { type: 'string' }
        }
    })
    public jmsmdvsnvcomponentviewmodelRemoveItem1(commandParam?: any): Observable<any> { return; }

}